Dead code elimination
COMPILER OPTIMIZATION TO REMOVE CODE WHICH DOES NOT AFFECT THE PROGRAM RESULTS
Dynamic dead code elimination; Dynamic dead-code elimination; Dead-code removal; Dead-code stripping; Dead-code strip; Dead code strip; Dead code stripping; Dead code removal; Redundant code elimination; DDCE; Static dead-code elimination; Static dead code elimination; Dynamic Dead Code Elimination; Dynamic dead instruction elimination; Dynamic dead code detection; Dynamic dead instruction detection; Dynamic dead-instruction elimination; Dynamic dead-code detection; Dynamic dead-instruction detection; Partial dead code elimination; Dead instruction elimination; Global dead code elimination; Compile-time dead code removal; Compile-time dead code elimination; Link-time dead code elimination; Link-time dead code removal; Useless-code elimination; Useless code elimination; Global DCE; Run-time DCE; Run-time dead code elimination; Runtime dead code elimination; Runtime DCE; Dynamic DCE; Partial DCE; Unreachable code elimination; Static dead code removal; Static dead code stripping; Dead code elimination
In compiler theory, dead code elimination (also known as DCE, dead code removal, dead code stripping, or dead code strip) is a compiler optimization to remove code which does not affect the program results. Removing such code has several benefits: it shrinks program size, an important consideration in some contexts, and it allows the running program to avoid executing irrelevant operations, which reduces its running time.